package com.cip.master.service;

import java.util.List;
import java.util.Locale;

import com.cip.master.model.Subject;

public interface SubjectService {
	
	String getSubjectGridList(Locale locale)throws Exception;
	
	List<Subject> getAllSubjectList() throws Exception;
	
	Subject getSubjectById(int id) throws Exception;
	
	Subject saveOrUpdateSubject(Subject subject) throws Exception;
	
	Subject editSubject(Subject subject) throws Exception;
	
	Subject getSubjectByCode(String code) throws Exception;
	
	Subject getSubjectByName(String subjectName) throws Exception;
}
